package monitoring.application;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

import monitoring.UssProjectView;
import server.Server;

/*
 * Author : Mohamed Delhomme
 */

public class StartStorageAction extends AbstractAction {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private UssProjectView monitor;

	public StartStorageAction(UssProjectView monitor, String texte) {
		super(texte);

		this.monitor = monitor;
	}

	public void actionPerformed(ActionEvent e) {
		monitor.storage.begin();
	}
}
